home *** CD-ROM | disk | FTP | other *** search
- Path: io.salford.ac.uk!aber!not-for-mail
- From: auj@aber.ac.uk (Alun "Da Penguin" Jones)
- Newsgroups: comp.lang.c
- Subject: Re: What is '?' in C mean....?????
- Date: 10 Jan 1996 08:50:17 -0000
- Organization: Prifysgol Cymru (University of Wales) Aberystwyth
- Message-ID: <4cvuk9$b18@osfa.aber.ac.uk>
- References: <4cgsa8$bm2@wumpus.cc.uow.edu.au> <fcusack-0401961115540001@mudskipper.cac.psu.edu> <4ci5bb$8m4@www.gnofn.org>
- NNTP-Posting-Host: osfa.aber.ac.uk
-
- Further up the screen Christopher L Mayeux (clm01@www.gnofn.org) wrote:
- >
- >: ? : is C's ternary operator. if the condition is met, perform the
- >: operation after the ?; if the condition is not met, perform the operation
- >: after the :
- >
- >What new perversion of C is that ???
- >
- >I've been programming in standard C for 12 years, and
- >never saw THAT in the manuals.
- Maybe you should read them!
-
- Alun.
- --
- $_='\=*Sxw!jds@j$.jl.dt#Rw%^dcn"K1x(=Bl1nwl!\*1enab^h"F=!J$h%fhcq',
- tr&J-ZA-Ij-za-i&A-Za-z&&s&\(&logic&&&s&\*&un&g&s&=&al&g&s&\^&it&g&&
- s&%&st&g&&s&\$&ber&g&s&\#&\n&&s&"& of&g,s&([A-Z])& $1&g&&s&\\u&U&&&
- s&!&es, &g&s&\\a&A&&s&1&i&g&&print" $_\n";sub liminal{"use perl!";}
-